package com.jic.member.entity.model;

import com.alibaba.fastjson.JSONObject;
import com.google.common.collect.Maps;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;
import java.util.Map;

/**
 * description: EventListenerContent
 * date: 2020/6/8 13:49
 * author: wangys
 * version: 1.0
 */
@Data
@Accessors(chain = true)
public class EventListenerContent {
    //事件类型
    private Integer eventType;

    //事件code
    private String eventCode;

    //事件code
    private Long eventTime;

    //用户id;
    private String thirdUserId;

    //deptIds;
    private List<Long> deptIds;

    //deptType 只有母平台，子平台
    private Integer deptType;

    //其他业务参数，比如升级事件/降级事件的升级数；优惠券/红包核销的时间，活动code,核销渠道等参数
    private JSONObject param;

    //节点配置
    private Map<Long, TripBranchNode> tripBranchNodeMap = Maps.newHashMap();

}
